package com.ktt.service;

import java.util.List;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.ktt.bean.Bis_custom_user;
import com.ktt.mapper.UpMapper;
@Service
@Transactional
public class UpServiceImpl implements UpService{

	@Autowired
	private UpMapper upMapper;
	
	@Override
	@Transactional(propagation=Propagation.SUPPORTS)
	public List<Bis_custom_user> listAll(Map map) {
		return this.upMapper.listAll(map);
	}

	@Override
	@Transactional(propagation=Propagation.SUPPORTS)
	public Bis_custom_user getById(int id) {
		return this.upMapper.getById(id);
	}

}
